package cn.bocai.pc.web.controller;

import java.io.PrintWriter;

import javax.servlet.http.HttpServletRequest;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.bocai.pc.model.BcPicture;
import cn.bocai.pc.service.BcPictureService;
@Controller
@RequestMapping("/picture")
public class BcPictureController {
	@Autowired
	 BcPictureService bcPictureService;


    //@RequestMapping("/{id}/showUser")
	@RequestMapping("/addPicture")
	public void addPicture( BcPicture bcPicture,PrintWriter out) {
		System.err.println("2222222222222222222222222222222222222222222222222222");
//		return "redirect:skip/colQuery.do";
		System.out.println(bcPicture.getPicname());
		out.write("yes");
	}

}
